<template>
	<view class="common-title">
		<view class="theme-text">
			<slot name="name"></slot>
		</view>
		<view class="theme-custom">
			<slot name="custom"></slot>
		</view>
	</view>
</template>

<script>
	export default {
		name: "commonTitle",
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>


.common-title{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20rpx 0 10rpx 0;
	
	.theme-text{
		font-size: 35rpx;
	}
	.theme-custom{
		margin-right: 30rpx;
		
	}
}
</style>